<html>
<head>
<meta http-equiv="Content-Language" content="zh-tw">
<script lang="java" language="javascript" type="text/javascript" src="public_var.js"></script>
<script lang="java" language="javascript" type="text/javascript" src="public_function.js"></script>
<script lang="java" language="javascript" type="text/javascript" src="dao.js"></script>
<script lang="java" language="javascript" type="text/javascript">
function evt_txtMemo_onchange(){
	openConn(db_type);
	updateMemo(document.all.item('uid').value,document.all.item('txtMemo').value);
	closeConn();
}
function init(){
	openConn(db_type);
	var rs=getMemoList();
	
	
	if(!rs.EOF){
		document.all.item('uid').value=rs.Fields("uid").Value;
		document.all.item('txtMemo').value=rs.Fields("memo_content").Value;
	}
	else{
		document.all.item('uid').value='0';
	}
	
	closeConn();
}
</script>
</head>
<body bgcolor="#3A6EA5" onload="javascript:init();">
<textarea name="txtMemo" cols="120" rows="25" onchange="javascript:evt_txtMemo_onchange();" style="BORDER-TOP: 0px;BORDER-LEFT: 0px;BORDER-RIGHT: 0px;BORDER-BOTTOM: 0px;background-color: #3A6EA5;"></textarea>
<input type='hidden' name='uid' value=''/>
</body>
</html>